package org.xjtu.weteam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.xjtu.weteam.model.domain.Info;
import org.xjtu.weteam.model.dto.InfoDTO;

import java.util.List;

public interface InfoService extends IService<Info> {
    List<Info> selectInfoByUserId(String token);

    boolean haveReadMessage(Integer id);

    boolean removeInfoById(Integer id);

    boolean sendMessage(InfoDTO info);
}
